package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.domain.entity.SysDept;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 设备对象 device
 *
 * @author wxd
 * @date 2024-08-25
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class Device extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "设备编号")
    @Excel(name = "设备编号")
    private String id;

    @ApiModelProperty(value = "名称")
    @Excel(name = "名称")
    private String name;

    @ApiModelProperty(value = "型号")
    @Excel(name = "型号")
    private String model;

    @ApiModelProperty(value = "所属单位ID")
    private Long deptId;

    @ApiModelProperty(value = "所属单位")
    @Excel(name = "所属单位")
    private String deptName;

    @ApiModelProperty(value = "所属单位")
    private String deptStr;

    @ApiModelProperty(value = "状态")
    @Excel(name = "状态")
    private String status;

    @ApiModelProperty(value = "最近上线时间")
    @Excel(name = "最近上线时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastOnlineTime;

    @ApiModelProperty(value = "焊头编号")
    @Excel(name = "焊头编号")
    private String htId;

    @ApiModelProperty(value = "焊头型号")
    @Excel(name = "焊头型号")
    private String htModel;

    @ApiModelProperty(value = "焊头焊接次数")
    @Excel(name = "焊头焊接次数")
    private Long htHjTimes;

    @ApiModelProperty(value = "换能器编号")
    @Excel(name = "换能器编号")
    private String hnqId;

    @ApiModelProperty(value = "换能器型号")
    @Excel(name = "换能器型号")
    private String hnqModel;

    @ApiModelProperty(value = "换能器焊接次数")
    @Excel(name = "换能器焊接次数")
    private Long hnqHjTimes;

    @ApiModelProperty(value = "调幅器编号")
    @Excel(name = "调幅器编号")
    private String tfqId;

    @ApiModelProperty(value = "调幅器型号")
    @Excel(name = "调幅器型号")
    private String tfqModel;

    @ApiModelProperty(value = "调幅器焊接次数")
    @Excel(name = "调幅器焊接次数")
    private Long tfqHjTimes;

    @ApiModelProperty(value = "夹爪编号")
    @Excel(name = "夹爪编号")
    private String jzId;

    @ApiModelProperty(value = "夹爪型号")
    @Excel(name = "夹爪型号")
    private String jzModel;

    @ApiModelProperty(value = "夹爪焊接次数")
    @Excel(name = "夹爪焊接次数")
    private Long jzHjTimes;

    @ApiModelProperty(value = "夹爪2编号")
    @Excel(name = "夹爪2编号")
    private String jz2Id;

    @ApiModelProperty(value = "夹爪2型号")
    @Excel(name = "夹爪2型号")
    private String jz2Model;

    @ApiModelProperty(value = "夹爪2焊接次数")
    @Excel(name = "夹爪2焊接次数")
    private Long jz2HjTimes;

    @ApiModelProperty(value = "底模编号")
    @Excel(name = "底模编号")
    private String dmId;

    @ApiModelProperty(value = "底模型号")
    @Excel(name = "底模型号")
    private String dmModel;

    @ApiModelProperty(value = "底模焊接次数")
    @Excel(name = "底模焊接次数")
    private Long dmHjTimes;

    @ApiModelProperty(value = "挡线块编号")
    @Excel(name = "挡线块编号")
    private String dxkId;

    @ApiModelProperty(value = "挡线块型号")
    @Excel(name = "挡线块型号")
    private String dxkModel;

    @ApiModelProperty(value = "挡线块焊接次数")
    @Excel(name = "挡线块焊接次数")
    private Long dxkHjTimes;

    @ApiModelProperty(value = "仿型槽编号")
    @Excel(name = "仿型槽编号")
    private String fxcId;

    @ApiModelProperty(value = "仿型槽型号")
    @Excel(name = "仿型槽型号")
    private String fxcModel;

    @ApiModelProperty(value = "仿型槽焊接次数")
    @Excel(name = "仿型槽焊接次数")
    private Long fxcHjTimes;

    @ApiModelProperty(value = "发生器编号")
    @Excel(name = "发生器编号")
    private String fsqId;

    @ApiModelProperty(value = "发生器型号")
    @Excel(name = "发生器型号")
    private String fsqModel;

    @ApiModelProperty(value = "发生器焊接次数")
    @Excel(name = "发生器焊接次数")
    private Long fsqHjTimes;

    @ApiModelProperty(value = "软件版本")
    @Excel(name = "软件版本")
    private String softVersion;
    @ApiModelProperty(value = "授权类型(1-永久授权,2-次数,3-时间)")
    @Excel(name = "授权类型")
    private Integer empowerType;
    @ApiModelProperty(value = "授权状态")
    @Excel(name = "授权状态")
    private String empowerStatus;

    @ApiModelProperty(value = "最后一次焊接总产量")
    private Long lastDatAllCount;

    @ApiModelProperty(value = "位置坐标")
    private String location;

}
